import { PureComponent } from 'react'
import { Modal, Input } from 'antd'
import styles from './boardCardModal.less'
const { TextArea } = Input
class BoardCardModal extends PureComponent {
    handleOk = () => {
        const { onOk } = this.props
        onOk()
    }
    handleCancel = () => {
        const { onCancel } = this.props
        onCancel()
    }
    render(){
        const { visible } = this.props
        return(
            <Modal
            title="批量创建"
            centered
            width={483}
            visible={visible}
            onOk={this.handleOk}
            onCancel={this.handleCancel}
        >
            <div className={styles.boardCardContext}>
                <p>请输入舱单号(多个舱单之间用逗号分隔!)</p>
                <TextArea rows={4} style={{width: '400px',height: '80px'}}/>
            </div>
        </Modal>
        )
    }
}
export default BoardCardModal
